package edu.hcmus.sow.dao;

import java.util.List;

import org.springframework.dao.DataAccessException;

import edu.hcmus.sow.domain.TaskComment;

/**
 * DAO to manage TaskComment entities.
 * 
 */
public interface TaskCommentDAO extends GenericDAO<TaskComment, Integer> {
	
	public List<TaskComment> getCommentsList(Integer taskID)throws DataAccessException;
	
	public int getNumberCommentOfTask(Integer taskID) throws DataAccessException;
	
	public TaskComment findByID(Integer id)throws DataAccessException;
}